package com.cby.android.library.utils

import java.text.SimpleDateFormat
import java.util.*

/**
 * @description: DateUtils
 *
 * @author ChenBaoyang
 * @date 4/27/21 14:22
 */
object DateUtils {

    private val yyMMddFormat = SimpleDateFormat("yyyy-MM-dd")
    private val yyMMddCNFormat = SimpleDateFormat("yyyy年MM月dd日")
    private var yyMMddFormat2 = SimpleDateFormat("yyyyMMdd")

    fun getToday(): String {
        //获取当天日期
        var date = yyMMddFormat2.format(Date())
        return date
    }
}